import { Controller } from 'egg';
import { Result } from '../util/result';


export default class PlatformController extends Controller {
  async getPlatform() {
    const { ctx } = this;

    const results = await this.ctx.service.platform.showPlatform();

    ctx.body = new Result(results);
  }


}
